package io.renren.modules.sys.service.impl;

import java.util.regex.Pattern;

/**
 * @author dongyuhao
 */
public class Main {
    private final static Pattern ADMIN_PERM_PATTERN= Pattern.compile("^(sys|school):.*");

    public static void main(String[] args) {
        System.out.println(ADMIN_PERM_PATTERN.matcher("sys:user:add").matches());
    }
}
